package com.ds.dsm.view.nav.service.gallery;

import com.ds.config.ResultModel;
import com.ds.dsm.view.config.gallery.GalleryInfoGroup;
import com.ds.esd.custom.api.annotation.APIEventAnnotation;
import com.ds.esd.custom.enums.CustomMenuItem;
import com.ds.esd.custom.module.annotation.ModuleAnnotation;
import com.ds.esd.custom.nav.annotation.NavGroupViewAnnotation;
import com.ds.esd.tool.ui.enums.Dock;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/dsm/view/config/gallery/")
public class ViewGalleryInfoService {


    @RequestMapping(method = RequestMethod.POST, value = "GalleryInfoGroup")
    @NavGroupViewAnnotation(reSetUrl = "clear", saveUrl = "updateGridView", autoSave = true)
    @APIEventAnnotation(bindMenu = CustomMenuItem.treeNodeEditor)
    @ModuleAnnotation(dock = Dock.fill, caption = "列表配置", index = 0, imageClass = "spafont spa-icon-project")
    @ResponseBody
    public ResultModel<GalleryInfoGroup> getGridInfoGroup(String sourceClassName, String methodName, String domainId, String viewInstId) {
        ResultModel<GalleryInfoGroup> result = new ResultModel<GalleryInfoGroup>();
        return result;
    }


}
